package com.weibo.survey.utils;

import java.util.Collection;

public class ValidateUtils {

	public static boolean isValidate(Object... objs) {
		if (objs != null && objs.length > 0) {
			return true;
		}
		return false;
	}

	public static boolean isValidate(Collection<?> collection) {
		if (collection != null && !collection.isEmpty()) {
			return true;
		}
		return false;
	}
	
}
